
<div id="new_project_form" style="display:none">
  <%# form_for :project,:url => projects_path do |f| %>
  <%# form_remote_tag :url => projects_path ,:id => 'form_new_project',
  :before => "Element.show('spinner');",
  :complete => "Element.hide('spinner');" do %>
  
  <% form_for :project,@project,:html =>{:id => 'form_new_project'} do |f|  %>
       
    <table width="98%" border="1" cellspacing="1" cellpadding="2" id="form_add__project">
      <tr>
        <th width="30%" scope="row">Project Title</th>
        <td width="70%"><%= f.text_field 'name',:size => 80  %></td>
      </tr>
	 <tr>
        <th scope="row">Group Name</th>
        <td><%= f.text_field 'group_name',:size => 20  %></td>
      </tr>
      <tr>
        <th scope="row">Owner</th>
        <td><%= f.text_field 'owner',:size => 20  %></td>
      </tr>
      <tr>
        <th scope="row">Costcenter</th>
        <td><%= f.text_field 'costcenter',:size => 10  %></td>
      </tr>
      <tr>
        <th scope="row">Per point</th>
        <td><%= text_field_tag 'project[per_point]',0,:size => 10  %></td>
      </tr>
     
      <tr>
        <th scope="row">DateTime </th>
        <td>
        <%= f.datetime_select('created_at') %></td>
      </tr>
      <tr>
        <th scope="row"> </th>
        <td>
        <%= submit_tag 'Save' %></td>
      </tr>
    
    </table>
    <br/>
  

<% end %>
</div>